<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0,maximum-scale=1.0" />
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/public.js" type="text/javascript" charset="utf-8"></script>
    <title>发票管理</title>
</head>
<body>
	<div id="invoices">
		<div class="header">
			<span class="title">可开发票总金额</span>
			<span class="totalAmount">￥<i class="amount">3000.00</i></span>
		</div>
		<div class="invoBar">
			<a href="invoiceAdmin.html" class="list">
				<img class="listIcon" src="images/icon_fapiao@2x (2).png"/>
				<span class="listName">申请发票</span>
			</a>
			<a href="invoiceTitle.html" class="list">
				<img class="listIcon" src="images/icon_taitou@2x.png"/>
				<span class="listName">发票抬头</span>
			</a>
			<a href="invoiceAddress.html" class="list">
				<img class="listIcon" src="images/icon_dizhi@2x.png"/>
				<span class="listName">邮寄地址</span>
			</a>
		</div>
		<div class="invoCon">
			<div class="invoTitle">
				近期发票
			</div>
			<div class="invoList">
				<a href="javascript:void(0);" class="list">
					<img class="listImg" src="images/photofp1@2x.png"/>
					<div class="listContent">
						<span class="listName">炭烤薯条等3件商品</span>
						<span class="listPrice">￥<i class="peice">3000.00</i></span>
						<span class="listTime">2018-09-18 20:30</span>
					</div>
					<span class="state">已开票</span>
				</a>
			</div>
		</div>
		<div class="invoNone">
			<img src="images/image1@2x (2).png"/>
			<span>您还没有开票历史</span>
		</div>
	</div>
<script type="text/javascript">
	//判断里面有没有开票历史
	var invoList=$('.invoList').children().length
	if(invoList<=0){
		$('.invoCon').hide()
		$('.invoNone').show()
	}
</script>
</body>
</html>
